package com.liangjie;

public abstract class Person {
	protected String name;
	protected char sex;
	protected int age;

	public abstract void introMe();

	public abstract void ageCheck() throws MyException;

	public void teach() {
	}

	public void study(String course) {
	}
	
	public String getCourse() {
		return "";
	}
	
	public Person() {}
	public Person(String name, char sex, int age) {
		this.name = name;
		this.sex = sex;
		this.age = age;
	}
}
